package com.gdhuarui.common;

public class NumberHelper {

    // 判断是否为整数
    public static boolean isInteger(String s) {
        if (s != null && !"".equals(s.trim())){
            return s.matches("^[0-9]*$");
        } else {
            return false;
        }
    }
}
